package com.green.service.common.log;

import java.lang.reflect.Field;
import java.util.Map;

import com.green.model.Entity;

/** 
 * 
 * @author Gou Lvbin
 * @time 2013-10-30
 */

public interface OperateLogger {
	
	public String getAddOperateContent(Field[] fields,Object obj) throws Exception;
	
	public String getUpdateOperateContent(Field[] fields,Object obj,Object historyObj) throws Exception;
	
	public String getDelOperateContent(Field[] fields,Object historyObj) throws Exception;
	
	@SuppressWarnings("rawtypes")
	public void doLog(Entity entity) throws Exception;
}
